package ctrLag;
import modelLag.*;

/**
 * Controller for product
 * 
 * @author (Christian, Umut, Christoffer, Patrick, Simon) 
 * @project (Semesterprojekt)
 * @version (2014.12.09)
 */
public class ProductCtr
{
    private ProductCon pCon;

    /**
     * Constructor for objects of class ProductCtr.
     */
    public ProductCtr(){
        pCon = pCon.getInstance();
    }
    
    /**
     * Find´s a specific product based on it´s ID.
     * 
     * @param ID is the productID of the Product.
     */
    public Product findProduct(int ID){
        return pCon.findProduct(ID);
    }
}
